package com.woniuxy.yoga.order.model.exception;


import com.woniuxy.yoga.commons.core.exception.YogaException;

public class OrderException extends YogaException {

    public OrderException(Integer code, String message) {
        super(code, message);
    }

    public OrderException(OrderExceptionCode code) {
        super(code.getCode(), code.getMessage());
    }
}
